@import './main.less';
@import './vant.less';

@color-primary: #16BC83;
@defualt-bg:#F7F7F7;
@danger-color:#f15643;
@warning-color :#FFAB00;

//导航设置
.main-color{
    color:#16BC83;
}
.van-nav-bar{
    .van-nav-bar__left{
        font-size: 16px;
    }
    i{
        &:extend(.color_text_gray3);
    }
    .van-nav-bar__right{
        height: 100%;
        display: flex;
        align-items: center;
    }
}
.van-tabbar{
    z-index: 999!important;
    &:extend(.color_png);
    .van-tabbar-item{
        text-align: center;
        &:extend(.color_text_gray3);
        position: relative;
        p{
            font-size: 12px;
            margin-top: 5px;
        }
        svg{
            font-size: 22px;
        }
        .add{
            width: 44px;
            height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 44px;
            position: absolute;
            top: -10px;
            left: 0;
            right: 0;
            margin: 0 auto;
            z-index: 9999;
            border-radius: 50%;
            box-shadow:0px 0px 10px 0px rgba(22,188,131,0.4);
            &:extend(.color_main);
            color: #fff;
        }
    }
    .van-tabbar-item--active{
        &:extend(.icon_main);
    }
}
.left{
    float: left;
}
.right{
    float: right;
}
*{  
    -webkit-touch-callout:none;  /*系统默认菜单被禁用*/  
    -webkit-user-select:none; /*webkit浏览器*/  
    -khtml-user-select:none; /*早期浏览器*/  
    -moz-user-select:none;/*火狐*/  
    -ms-user-select:none; /*IE10*/  
    user-select:none;  
} 
input,textarea {
    -webkit-user-select:auto; /*webkit浏览器*/
    margin: 0px;
    padding: 0px;
    outline: none;
}
*{ -webkit-tap-highlight-color: rgba(0,0,0,0);-webkit-tap-highlight-color: transparent; /* For some Androids */ }

.strong{
    font-weight: 600;
}
.opcity /deep/ textarea{
    color: rgba(0,0,0,.6);
}
//无底层导航时
.bottomBar{
    margin-bottom: 0!important;
    min-height: calc(100vh - 46px)!important;
}

.limit-scroll{
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    overflow: hidden !important;
  }
  
//表单页公用

.page-has-bottom{
    padding-bottom: 80px;
}
.cus-fixed-bottom{
    z-index: 9;
    position: fixed;
    left: 0;
    bottom: 0;
    padding: 16px;
    width: 100%;
    box-sizing: border-box;
    background: #F8F8FA;
}

.cus-btn-submit{
    height: 48px;
    border-radius: 12px;
    color: #fff;
    border: 0;
    font-size: 16px;
    letter-spacing: 2px;
    background: linear-gradient(270deg, #009E77 0%, #20CE92 100%);
    &.disable{
        background: linear-gradient(270deg, rgba(0, 158, 119, 0.4) 0%, rgba(32, 206, 146, 0.4) 100%);
    }
}